<template>
	<view>
		<view class="card-box">
			<view class="mb-5 yue">
				<text>当前积分</text>
			</view>
			<text class="num">0</text>
			<view class="jilu" @click="openRecord">
				记录
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
			
			}
		},
		methods: {
			openRecord() {
				uni.navigateTo({
					url: '/subPack/record'
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
	$color-241: #ee993e;

	.yue {
		display: flex;

	}

	.card-box {
		position: relative;
		background-color: $color-241;
		margin:30rpx 20rpx;
		padding: 30rpx  20rpx;
		border-radius: 10rpx;
		color: $-color-white;

		.num {
			font-weight: 700;
			font-size: 38rpx;
		}

		.jilu {
			position: absolute;
			right: 0;
			top: 20%;
			width: 100rpx;
			padding: 5rpx 0;
			border-radius: 50rpx 0 0 50rpx;
			background-color: #f2d3a7;
			text-align: center;
		}
	}
</style>